quamdiu (se) bene gesserit

as long as he shall have behaved well (legal Latin)

Notes

I.e., "[while on] good behavior." So for example the Act of Settlement 1701 stipulated that judges' commissions are valid quamdiu se bene gesserint (during good behaviour). It was from this phrase that Frank Herbert extracted the name for the Bene Gesserit sisterhood in the Dune novels.